<template>
  <div>
    <h1>我是A组件</h1>
  </div>
</template>

<script>
import eventBus from "../EventBus/index.js";
export default {
  created() {
    eventBus.$on("send", (val) => {
      console.log(val);
    });
  },
};
</script>

<style>
</style>